projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
767df91
)
testoutsetshadowdrawing: Add more samples
author
Timm Bäder
<mail@baedert.org>
Thu, 28 Dec 2017 15:41:08 +0000
(16:41 +0100)
committer
Timm Bäder
<mail@baedert.org>
Thu, 28 Dec 2017 15:48:35 +0000
(16:48 +0100)
tests/testoutsetshadowdrawing.c
patch
|
blob
|
history
diff --git
a/tests/testoutsetshadowdrawing.c
b/tests/testoutsetshadowdrawing.c
index 5a5c01b3f801c384fb6d347b5dbfe248f513c1a6..b76382510cd819f47d4fc63702110390d5b51e97 100644
(file)
--- a/
tests/testoutsetshadowdrawing.c
+++ b/
tests/testoutsetshadowdrawing.c
@@
-45,7
+45,7
@@
static const char *css =
" min-width: 100px;"
" min-height:100px;"
" border-radius: 7px 7px 0px 0px;"
-" box-shadow: 0px
3px 9px 1
px rgba(0, 0, 0, 0.5);"
+" box-shadow: 0px
0px 9px 0
px rgba(0, 0, 0, 0.5);"
"}"
#if 0
".b2 {"
@@
-111,6
+111,7
@@
main (int argc, char **argv)
w = gtk_button_new ();
gtk_widget_set_valign (w, GTK_ALIGN_CENTER);
gtk_style_context_add_class (gtk_widget_get_style_context (w), "three");
+ gtk_widget_set_opacity (w, 0.7);
gtk_container_add (GTK_CONTAINER (top), w);
w = gtk_button_new ();